{% extends "./default.html" %}
{% block content %}
{% import "./public/adsPannel.html" as adsPannel %}


<article>
    <div class="leftbox">
        <div class="newblogs">
            <h2 class="hometitle"><span>
                    {% tags pageSize=3 %}
                    {% for tagItem in tags %}
                    <a href="/tag/{{tagItem.name}}">{{tagItem.name}}</a>
                    {% endfor %}
                </span>
                {% if pageType == 'search' %}
                搜索：{{targetSearchKey}}
                {% elif pageType == 'tag' %}
                标签：{{targetTagName}}
                {% else %}
                {{cateInfo.name}}
                {% endif %}
            </h2>
            <ul>
                {% include './public/itemListTemp.html' %}
            </ul>

        </div>
    </div>
    <div class="rightbox">
        {% include './public/sidebar.html' %}
    </div>
</article>
{% endblock %}